using System;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace JQueryControlToolkit.Controls
{
	[ParseChildren(false), PersistChildren(true)]
	public class AccordionItem : WebControl
	{
		protected override string TagName
		{
			get
			{
				return "div";
			}
		}
		protected override HtmlTextWriterTag TagKey
		{
			get
			{
				return HtmlTextWriterTag.Div;
			}
		}
		public bool IsActive
		{
			get;
			set;
		}
		public string Header
		{
			get;
			set;
		}
		public override void RenderControl(HtmlTextWriter writer)
		{
			writer.WriteFullBeginTag("h3");
			writer.WriteBeginTag("a");
			writer.WriteAttribute("href", "#");
			writer.Write(">");
			writer.Write(this.Header);
			writer.WriteEndTag("a");
			writer.WriteEndTag("h3");
			base.RenderControl(writer);
		}
	}
}
